package brainbots;

import brainbots.bot.BrainBot;


/**Breeder class controls bots population. it receives bot death events, 
 * and generates new bots
 * @author dim
 *
 */
public abstract class AbstractBreeder {

		
	protected World world;
	
	public AbstractBreeder(){
		world = null;
	}
	
	public void setWorld(World world) {
		this.world = world;
	}
	/**returns reference to the world item*/
	public World getWorld() {
		return world;
	}
	
	
	public abstract void onBotDeath(BrainBot bot);
	public abstract void onIdle();
	public abstract void onFoodEaten(Food food);
	public abstract void onStartSim();
	
}
